package com.example.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @program: backend
 * @author: zk
 * @create: 2023-04-22 15:01
 **/
@Data
@ApiModel("购物车")
public class CartDTO {

    @ApiModelProperty("购物车中产品id")
    private Long productId;
    @ApiModelProperty("购物车中的产品是否呗选中")
    private boolean selected;
    @ApiModelProperty("购物车中某种产品的数量")
    private int quantity;
}
